hip.hiprenderer.shader.shadervar

Undocumented in source.

Members

Classes

ShaderVariablesLayout
class ShaderVariablesLayout

This class is meant to be created together with the Shaders.

Enums

ShaderHint
enum ShaderHint

Changes how the Shader behaves based on the backend

UniformType
enum UniformType

Should not be used directly. The D type inference can already set that for you. This is stored by the variable to know how to access itself and comunicate the shader.

Functions

uniformTypeFrom
UniformType uniformTypeFrom()
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

ShaderVar
struct ShaderVar

Struct that holds uniform/cbuffer information for Direct3D and OpenGL shaders. It can be any type. Its data is accessed by the ShaderVariableLayout when sendVars is called. Thus, depending on its corrensponding type, its data is uploaded to the GPU.

ShaderVarLayout
struct ShaderVarLayout
Undocumented in source.

Meta